package org.jeecg.modules.c.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 历史告警管理
 * @Author: jeecg-boot
 * @Date:   2024-11-05
 * @Version: V1.0
 */
@Data
@TableName("D_AlarmH")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="D_AlarmH对象", description="历史告警管理")
public class DAlarmH {
    
	/**主键: 序号（种子：自增1）*/
	@Excel(name = "主键: 序号（种子：自增1）", width = 15)
    @ApiModelProperty(value = "主键: 序号（种子：自增1）")
	@TableId(type = IdType.AUTO)
	private java.lang.Long hisalmid;
	/**下级SCID*/
	@Excel(name = "下级SCID", width = 15)
    @ApiModelProperty(value = "下级SCID")
	private java.lang.String scid;
	/**站点编号（站点表主键）*/
	@Excel(name = "站点编号（站点表主键）", width = 15)
    @ApiModelProperty(value = "站点编号（站点表主键）")
	private java.lang.String siteid;
	/**设备编号（设备表主键）*/
	@Excel(name = "设备编号（设备表主键）", width = 15)
    @ApiModelProperty(value = "设备编号（设备表主键）")
	private java.lang.String deviceid;
	/**数据类型*/
	@Excel(name = "数据类型", width = 15)
    @ApiModelProperty(value = "数据类型")
	private java.lang.Object type;
	/**监控数据标识编号*/

    @ApiModelProperty(value = "监控数据标识编号")
	private java.lang.String id;
	/**信号名称*/
	@Excel(name = "信号名称", width = 15)
    @ApiModelProperty(value = "信号名称")
	private java.lang.String signalname;
	/**告警序号（活动告警结束保存在历史告警数据表中时，告警序号不变）*/
	@Excel(name = "告警序号（活动告警结束保存在历史告警数据表中时，告警序号不变）", width = 15)
    @ApiModelProperty(value = "告警序号（活动告警结束保存在历史告警数据表中时，告警序号不变）")
	private java.lang.String serialno;
	/**告警发生时间*/
	@Excel(name = "告警发生时间", width = 15)
    @ApiModelProperty(value = "告警发生时间")
	private Date starttime;
	/**告警结束时间*/
	@Excel(name = "告警结束时间", width = 15)
    @ApiModelProperty(value = "告警结束时间")
	private Date endtime;
	/**告警等级*/
	@Excel(name = "告警等级", width = 15)
    @ApiModelProperty(value = "告警等级")
	private java.lang.Integer alarmlevel;
	/**告警内容描述*/
	@Excel(name = "告警内容描述", width = 15)
    @ApiModelProperty(value = "告警内容描述")
	private java.lang.String alarmdesc;
	/**告警触发时值*/
	@Excel(name = "告警触发时值", width = 15)
    @ApiModelProperty(value = "告警触发时值")
	private java.lang.Float alarmvalue;
	/**删除状态*/
	@Excel(name = "删除状态", width = 15)
	@ApiModelProperty(value = "删除状态")
	private java.lang.Integer delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
}
